package com.last.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.util.List;

/**
 * <p>
 * 
 * </p>
 *
 * @author tom
 * @since 2021-03-02
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class HouseName implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "home_Id",type = IdType.AUTO)
    private Integer homeId;

    /**
     * 酒店名称
     */
    private String homeName;

    /**
     * 酒店描述
     */
    private String homeDesc;

    /**
     * 酒店名称
     */
    private String homePic;

    /**
     * 备注
     */
    private String homeRemark;

    /**
     * 1 正常 2 注销
     */
//    private Long status;

    private Integer merchantId;

    @TableField(exist = false)
    private List<RoomInfo> roomInfoList;
}
